package net.oschina.app.pages;

import android.widget.ImageView;

import net.oschina.app.testcases.favorites.SoloWrap;


/**
 * Created by Administrator on 2017/7/1.
 */

public class PageMyTab {

    private SoloWrap solo;
    private ImageView loginIcon,settingsImageBtn;


    public PageMyTab(SoloWrap solo){
        this.solo = solo ;
    }

    public void initViews(){
        loginIcon = (ImageView) solo.getView("net.oschina.app:id/iv_portrait");
        settingsImageBtn = (ImageView) solo.getView("net.oschina.app:id/iv_logo_setting");

    }

    public void clickLoginIcon(){
        solo.clickOnView(loginIcon);
    }

    public void clickSettingsImageBtn(){
        solo.clickOnView(settingsImageBtn);
    }



}
